package com.zsy.config;

import com.zsy.config.properties.DemoProperties;
import com.zsy.config.properties.UacProperties;
import lombok.Data;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class SpringCloudProperties {
   // private UacProperties uacProperties = new UacProperties();
  //  private DemoProperties demoProperties = new DemoProperties();
    @Bean
    public DemoProperties demoProperties(){
        return new DemoProperties();
    }
    @Bean
    public UacProperties uacProperties(){
        return new UacProperties();
    }
}
